package com.hs.pre.model;

import java.sql.SQLException;
import java.util.Map;

import com.hs.core.db.HsPreparedStatement;
import com.hs.log.HsLogger;

public class SortBean {
//	
//	Name	Code	Data Type	Primary	Foreign Key	Mandatory
//	类别主键	sortId	bigint	TRUE	FALSE	TRUE
//	主键	relationId	bigint	FALSE	TRUE	FALSE
//	分类名称	sortName	varchar(200)	FALSE	FALSE	FALSE
//	是否有效	isUse	int	FALSE	FALSE	FALSE
//	分类说明	sortRemark	varchar(1000)	FALSE	FALSE	FALSE
//	上级分类主键	parentSortId	bigint	FALSE	FALSE	FALSE
//	是否根节点	isRoot	int	FALSE	FALSE	FALSE
//	分类图标	imageUrl	varchar(100)	FALSE	FALSE	FALSE
	 private static final HsLogger logger = HsLogger.getLogger(SortBean.class.getName());
	
	private Integer sortId;
	
	private Integer relationId;
	
	private String sortName;
	
	private Integer  isUse;
	
	private String sortRemark;
	
	private Integer parentSortId = new Integer(0);
	
	private Integer isRoot;
	
	private String imageUrl;
//    public SortBean(Map m){
//    	this.sortId = m.get("");
//    	this.sortName = m.get("");
//    	this.parentSortId = m.get("")
//    }
	public Integer getSortId() {
		return sortId;
	}

	public void setSortId(Integer sortId) {
		this.sortId = sortId;
	}

	public Integer getRelationId() {
		return relationId;
	}

	public void setRelationId(Integer relationId) {
		this.relationId = relationId;
	}

	public String getSortName() {
		return sortName;
	}

	public void setSortName(String sortName) {
		this.sortName = sortName;
	}

	public Integer getIsUse() {
		return isUse;
	}

	public void setIsUse(Integer isUse) {
		this.isUse = isUse;
	}

	public String getSortRemark() {
		return sortRemark;
	}

	public void setSortRemark(String sortRemark) {
		this.sortRemark = sortRemark;
	}

	public Integer getParentSortId() {
		return parentSortId;
	}

	public void setParentSortId(Integer parentSortId) {
		this.parentSortId = parentSortId;
	}

	public Integer getIsRoot() {
		return isRoot;
	}

	public void setIsRoot(Integer isRoot) {
		this.isRoot = isRoot;
	}

	public String getImageUrl() {
		return imageUrl;
	}

	public void setImageUrl(String imageUrl) {
		this.imageUrl = imageUrl;
	}
	
   
}
